package com.yc.mybatis.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author k
 * @since 2024-10-27
 */
@Getter
@Setter
@TableName("bill")
public class Bill implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 分类：入库，出库
     */
    @TableField("type")
    private String type;

    /**
     * 客户
     */
    @TableField("custom")
    private String custom;

    /**
     * 金额
     */
    @TableField("sums")
    private Double sums;

    /**
     * 时间
     */
    @TableField("time")
    private LocalDateTime time;

    /**
     * 经办人id
     */
    @TableField("uid")
    private Integer uid;
}
